// api.js
import {
	request
} from '@/utils/request.js'; // 引入封装好的request.js
//获取可提现银行
export const getWithdrawBank = (data) => {
	return request({
		url: '/withdraw_bank_card/getPage',
		method: 'POST',
		data: data,
	});
};
//提现申请
export const addWithdrawalSave = (data) => {
	return request({
		url: '/application_for_withdrawal/save',
		method: 'POST',
		data: data,
	});
};
//充值档位
export const getRechargeGear = (data) => {
	return request({
		url: '/recharge_gear/getPage',
		method: 'POST',
		data: data,
	});
};
//余额转入
export const getRewardTransfer = (data) => {
	return request({
		url: '/user/rewardTransfer',
		method: 'POST',
		data: data,
	});
};

//余额转增
export const getIncreaseByTransferring = (data) => {
	return request({
		url: '/user/increaseByTransferring',
		method: 'POST',
		data: data,
	});
};

//余额佣金明细 currencyType：0余额，1佣金
export const getJournal = (data) => {
	return request({
		url: '/user_journal_detail/getPage',
		method: 'POST',
		data: data,
	});
};

